package com.cloudkinto.service.user.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author zhangyy
 * @date 2020/10/13 16:15
 * @description:
 */
@Data
public class FindBackPasswordReq {

    @NotBlank(message = "pls.input.key")
    private String key;

    @NotBlank(message = "pls.input.account")
    private String userAccount;

//    @NotBlank(message = "请输入验证码")
//    private String code;

    @NotBlank(message = "pls.input.password")
    @Length(min = 6,max = 20 ,message = "password.length.1-20")
    private String newPassword;
}
